package com.group02.community.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.group02.community.entity.vo.RepairVO;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

public interface IRepairService extends IService<RepairVO> {
    IPage<RepairVO> getRepairPage(Long current, Long size, RepairVO repairVO);

    void addRepair(RepairVO repairVO);

    void addOwner(RepairVO repairVO);

    void updateRepair(RepairVO repairVO);

    void downloadExcel(HttpServletResponse response) throws IOException;

    List<RepairVO> selectAll();

    List<RepairVO> selectOwner(Long ownerId);
}
